package com.ruoyi.business.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;

/**
 * 运单操作历史视图对象 freight_operate_history
 *
 * @author ruoyi
 * @date 2024-04-20
 */
@Data
@ExcelIgnoreUnannotated
public class FreightOperateHistoryVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 操作id
     */
    @ExcelProperty(value = "操作id")
    private Long operateId;

    /**
     * 运单id
     */
    @ExcelProperty(value = "运单id")
    private Long freightId;

    /**
     * 操作前状态
     */
    @ExcelProperty(value = "操作前状态")
    private BigDecimal beforeStatus;

    /**
     * 操作后状态
     */
    @ExcelProperty(value = "操作后状态")
    private BigDecimal afterStatus;

    /**
     * 操作人
     */
    @ExcelProperty(value = "操作人")
    private Long orderOperateUser;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @ExcelProperty(value = "删除标志", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=代表存在,1=代表删除")
    private Integer isDeleted;


}
